package cn.net.isir.entity;

import cn.net.isir.core.BasicModel;
import java.util.Date;
import java.math.BigDecimal;

public class Order  extends BasicModel{
    /**
     * 订单编号
     */
    private String no;
    /**
     * 店铺id
     */
    private String shopId;
    /**
     * tableId/serialNumber
     */
    private String serialNumType;
    /**
     * 桌号或流水号
     */
    private String serialNumber;
    /**
     * 下单人
     */
    private String orderUser;
    /**
     * 下单客户端:wx或alipay
     */
    private String client;
    /**
     * 订单总额
     */
    private BigDecimal total;
    /**
     * 打折后订单总额
     */
    private BigDecimal finalTotal;
    /**
     * 订单状态:ordered表示已下单未支付，paying表示正在支付，paid表示已支付，finished表示已完成
     */
    private String orderStatus;
    /**
     * 支付方式
     */
    private String payment;
    /**
     * 使用方式：shop和takeaway
     */
    private String edibleMethod;
    /**
     * 是否已支付
     */
    private Integer isPaid;
    /**
     * 是否已通知店家
     */
    private Integer isInformShop;
    /**
     * 是否已上菜
     */
    private Integer isServed;
    /**
     * 是否已完成
     */
    private Integer isFinished;
    /**
     * 是否有退菜
     */
    private Integer hasReturn;
    /**
     * 下单时间
     */
    private Date orderTime;
    /**
     * 支付时间
     */
    private Date payTime;
    /**
     * 通知厨房时间
     */
    private Date informTime;
    /**
     * 上菜时间
     */
    private Date servTime;
    /**
     * 完成时间
     */
    private Date finishTime;
    /**
     * 用餐人数
     */
    private Integer mealsNum;
    /**
     * 餐具数量
     */
    private Integer tablewareNum;
    /**
     * 口味备注
     */
    private String taste;
    /**
     * 厨师
     */
    private String chef;
    /**
     * 上餐员
     */
    private String deliver;
    /**
     * 服务员
     */
    private String waiter;
    /**
     * 线下收银员
     */
    private String offlineCashier;
    /**
     * 状态
     */
    private String status;
    /**
     * 创建人
     */
    private String createUser;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新人
     */
    private String updateUser;
    /**
     * 更新时间
     */
    private Date updateTime;
    /**
     * 备注
     */
    private String comment;
    /**
     * 是否可用:0表示不可用，1表示可用
     */
    private Integer isValid;

    /**
     * 用于作为查询订单的条件
     */
    private Integer limitHours;
    /**
     * 用于查询结果的时候，返回店铺名称
     */
    private String shopName;

    /**
     * 查询订单开始时间
     */
    private Date queryStartOrderTime;

    /**
     * 查询订单结束时间
     */
    private Date queryEndOrderTime;

    public Date getQueryStartOrderTime() {
        return queryStartOrderTime;
    }

    public void setQueryStartOrderTime(Date queryStartOrderTime) {
        this.queryStartOrderTime = queryStartOrderTime;
    }

    public Date getQueryEndOrderTime() {
        return queryEndOrderTime;
    }

    public void setQueryEndOrderTime(Date queryEndOrderTime) {
        this.queryEndOrderTime = queryEndOrderTime;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public Integer getLimitHours() {
        return limitHours;
    }

    public void setLimitHours(Integer limitHours) {
        this.limitHours = limitHours;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }


    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }


    public String getSerialNumType() {
        return serialNumType;
    }

    public void setSerialNumType(String serialNumType) {
        this.serialNumType = serialNumType;
    }


    public String getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber;
    }


    public String getOrderUser() {
        return orderUser;
    }

    public void setOrderUser(String orderUser) {
        this.orderUser = orderUser;
    }

    public String getClient() {
        return client;
    }

    public void setClient(String client) {
        this.client = client;
    }

    public BigDecimal getTotal() {
        return total;
    }

    public void setTotal(BigDecimal total) {
        this.total = total;
    }


    public BigDecimal getFinalTotal() {
        return finalTotal;
    }

    public void setFinalTotal(BigDecimal finalTotal) {
        this.finalTotal = finalTotal;
    }


    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }


    public String getPayment() {
        return payment;
    }

    public void setPayment(String payment) {
        this.payment = payment;
    }


    public String getEdibleMethod() {
        return edibleMethod;
    }

    public void setEdibleMethod(String edibleMethod) {
        this.edibleMethod = edibleMethod;
    }


    public Integer getIsPaid() {
        return isPaid;
    }

    public void setIsPaid(Integer isPaid) {
        this.isPaid = isPaid;
    }


    public Integer getIsInformShop() {
        return isInformShop;
    }

    public void setIsInformShop(Integer isInformShop) {
        this.isInformShop = isInformShop;
    }


    public Integer getIsServed() {
        return isServed;
    }

    public void setIsServed(Integer isServed) {
        this.isServed = isServed;
    }


    public Integer getIsFinished() {
        return isFinished;
    }

    public void setIsFinished(Integer isFinished) {
        this.isFinished = isFinished;
    }


    public Integer getHasReturn() {
        return hasReturn;
    }

    public void setHasReturn(Integer hasReturn) {
        this.hasReturn = hasReturn;
    }


    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }


    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }


    public Date getInformTime() {
        return informTime;
    }

    public void setInformTime(Date informTime) {
        this.informTime = informTime;
    }


    public Date getServTime() {
        return servTime;
    }

    public void setServTime(Date servTime) {
        this.servTime = servTime;
    }


    public Date getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }


    public Integer getMealsNum() {
        return mealsNum;
    }

    public void setMealsNum(Integer mealsNum) {
        this.mealsNum = mealsNum;
    }


    public Integer getTablewareNum() {
        return tablewareNum;
    }

    public void setTablewareNum(Integer tablewareNum) {
        this.tablewareNum = tablewareNum;
    }


    public String getTaste() {
        return taste;
    }

    public void setTaste(String taste) {
        this.taste = taste;
    }


    public String getChef() {
        return chef;
    }

    public void setChef(String chef) {
        this.chef = chef;
    }


    public String getDeliver() {
        return deliver;
    }

    public void setDeliver(String deliver) {
        this.deliver = deliver;
    }


    public String getWaiter() {
        return waiter;
    }

    public void setWaiter(String waiter) {
        this.waiter = waiter;
    }


    public String getOfflineCashier() {
        return offlineCashier;
    }

    public void setOfflineCashier(String offlineCashier) {
        this.offlineCashier = offlineCashier;
    }


    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }


    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }


    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }


    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }


    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }


    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }


    public Integer getIsValid() {
        return isValid;
    }

    public void setIsValid(Integer isValid) {
        this.isValid = isValid;
    }

}
